package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Setmeal;

public interface SetmealService {
    //新增检查套餐
    Result add(Integer[] ids, Setmeal setmeal);
    //修改检查套餐
    Result update(Integer[] ids,Setmeal setmeal);
    //分页查询
    PageResult findByPage(QueryPageBean queryPageBean);
    //通过id查询检查套餐
    Result findById(int id);
    //删除检查套餐
    Result delete(int id);
    //通过检查套餐id查询检查组的数组
    Result findBySp(Integer id);
}
